package org.jeecg.modules.api.comApi.vo;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value = "GetTokenParam对象", description = "获取token参数")
public class GetTokenParam {
    /**
     * 授权令牌
     */
    @ApiModelProperty(value = "授权令牌", required = true)
    private String app_key;

    /**
     * 授权密钥
     */
    @ApiModelProperty(value = "授权密钥", required = true)
    private String app_secret;

    /**
     * token失效时间
     */
    @ApiModelProperty(value = "token失效时间：单位为：毫秒，默认为1个小时", hidden = true)
    private long tokenTime=3600;

}
